﻿using System;
namespace CustomsSystem.Model
{
	/// <summary>
	/// Customer:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Customer
	{
		public Customer()
		{}
		#region Model
		private int _id;
        private int? _invtype;
		private string _taxno;
        private string _customerno;
		private string _customername;
        private string _abbreviation;
		private string _invoice;
		private string _address;
		private string _postcode;
		private string _customerphone;
		private string _fax;
        private string _email;
		private string _customertype;
		private string _remarks;
		/// <summary>
		/// 客户编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
        /// <summary>
        /// 公司编号
        /// </summary>
        public string CustomerNO
        {
            set { _customerno = value; }
            get { return _customerno; }
        }
        /// <summary>
        /// 发票类型
        /// </summary>
        public int? InvType
        {
            set { _invtype = value; }
            get { return _invtype; }
        }
        /// <summary>
        /// 税务识别号
        /// </summary>
        public string TaxNo
        {
            set { _taxno = value; }
            get { return _taxno; }
        }
		/// <summary>
		/// 客户名称
		/// </summary>
		public string CustomerName
		{
			set{ _customername=value;}
			get{return _customername;}
		}
        /// <summary>
        /// 公司简称
        /// </summary>
        public string Abbreviation
        {
            set { _abbreviation = value; }
            get { return _abbreviation; }
        }
		/// <summary>
		/// 发票抬头
		/// </summary>
		public string Invoice
		{
			set{ _invoice=value;}
			get{return _invoice;}
		}
		/// <summary>
		/// 客户公司地址
		/// </summary>
		public string Address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
		/// 邮政编码
		/// </summary>
		public string PostCode
		{
			set{ _postcode=value;}
			get{return _postcode;}
		}
		/// <summary>
		/// 客户电话
		/// </summary>
		public string CustomerPhone
		{
			set{ _customerphone=value;}
			get{return _customerphone;}
		}
		/// <summary>
		/// 传真
		/// </summary>
		public string Fax
		{
			set{ _fax=value;}
			get{return _fax;}
		}
		/// <summary>
		/// 客户类别
		/// </summary>
		public string CustomerType
		{
			set{ _customertype=value;}
			get{return _customertype;}
		}
        /// <summary>
        /// Email
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
		/// <summary>
		/// 备注
		/// </summary>
		public string Remarks
		{
			set{ _remarks=value;}
			get{return _remarks;}
		}
		#endregion Model

	}
}

